This information is provisional and subject to change.

Data Logging

An area of internal Flash memory is dedicated to recording selected meter readings. Up to 20 parameters in each time stamped record. The precise date and time used for the timestamps is acquired from an SNTP server using the internet. Each time stamped record contains up to 20 individual measurements read by the meter.

Records are regularly sent to an ftp server on the network where they can be accessed to provide comprehensive reports. If the ftp server is unreachable for any reason then any data not yet sent will be included in the next successful transmission. This ensures that a complete record is maintained on the ftp server. Two intervals can be independently configured using a standard web browser. The time between records held in the internal flash memory is set in the log interval. The interval between ftp transmissions is set as the ftp interval. A log interval of 900 seconds with an ftp interval of 3600 seconds would send one file every hour containing, on average, four data records.

Datalog.html is used to set the data logging parameters within the meter. http://meterURL/Datalog.html.

Network.html will have been used to configure the network parameters required for time stamping and for ftp transfers. If DNS server details are not known then the OpenDNS servers at IP addresses 208.67.222.222 and 208.67.220.220 may be used. The gateway address will commonly be the address of the router which provides access to the internet. If a Windows XP IE browser is being used then these details can be displayed by typing ipconfig /all in a command prompt window.

The meter uses passive ftp to send data files so will not normally require any changes to the firewall or router settings. The meter does not use dhcp but instead has a static IP address.

If the meter web server pages are to be viewed from the internet side of the firewall then access will have to be provided to port 80 or port 8080.

If complete data log files are to be copied from the meter then access will also be required to port 69.

Data structures

Each file name is made up of the meter MACi address, date and time separated by the underline character


ftp Transmitted data log structure
Time Stamp (20070716_235837 + parameter 1 value(2435) + parameter 2 value(5000) ……….+ parameter 20 value(5)


Example data file

001BE5101010_070717_074354
  070717_073046,2,919,81,2449,944,187,81,2452,100,3226,49,77,22,162,499,2,2,2,4,5
  070717_073546,2,923,81,2447,944,188,80,2445,100,3226,49,77,21,146,499,2,2,2,4,5
  070717_074046,2,927,81,2445,944,187,80,2443,100,3226,49,77,21,148,499,2,2,2,4,5
  

Values are transferred as raw 16 bit integers without any decimal points. The decimal point position or multiplier is available as a parameter or can be considered fixed as described in the meter Modbusi manual. Log files can simply be combined by using the DOS copy command, eg copy 001BE5* total.csv , and opened in Excel. If the _ character is included as a field separator the date and time can be in separate columns

Network link disruption

When the ftp link is disrupted the internal 1Mbit memory will continue to store records but, when full, will overwrite the oldest records with the most recent values. If the data log interval is 15minutes then records for some 31 days will be stored within the meter.

Meter internal Flash record format 352bits/20 parameter record


Time Stamp (32 bits) + parameter 1 value (16 bits) + parameter 2 value (16 bits) ………….+ parameter 20 value (16 bits)


Useful Modbus parameter registers (from the Cube Modbus manual).

Data
Address

Data

Scaling

7680

KWh High Word

eScale

7681

KWh Low Word

7682

KVAh High Word

eScale

7683

KVAh Low Word

7684

Kvarh High Word

eScale

7685

Kvarh Low Word

7686

Export kWh High Word

eScale

7687

Export kWh Low Word

7688

Phase 1 Amps

Ki

7689

Phase 2 Amps

7690

Phase 3 Amps

7691

Phase 1 Volts

Kvp

7692

Phase 2 Volts

7693

Phase 3 Volts

7694

Ph1-Ph2 Volts

Kvl

7695

Ph2-Ph3 Volts

7696

Ph3-Ph1 Volts

7697

Frequency

5000 = 50.00

7698

Phase 1 PF

1000 = 1.000

7699

Phase 2 PF

7700

Phase 3 PF

7701

System PF

7702

Phase 1 kW

Kp

7703

Phase 2 kW

7704

Phase 3 kW

7705

System kW

7706

Phase 1 kVA

Kp

7707

Phase 2 kVA

7708

Phase 3 kVA

7709

System kVA

7710

Phase 1 kvar

Kp

7711

Phase 2 kvar

7712

Phase 3 kvar

7713

System kvar

7714

Ph1 Amps Demand

Ki

7715

Ph2 Amps Demand

7716

Ph3 Amps Demand

7717

Ph1 Volts Demand

Kvp

7718

Ph2 Volts Demand

7719

Ph3 Volts Demand

7720

Peak Ph1 Amps

Ki

7721

Peak Ph2 Amps

7722

Peak Ph3 Amps

7723

Peak Ph1 Volts

Kvp

7724

Peak Ph2 Volts

7725

Peak Ph3 Volts

7726

kW Demand

Kp - 1

7727

kVA Demand

7728

kvar Demand

7729

Peak Hold kW Demand

Kp - 1

7730

Peak Hold kVA Demand

7731

Peak Hold kvar Demand

7732

Neutral Current

Ki

7733

Amps Scale Ki

-

7734

Phase Volts Scale Kvp

-

7735

Line Volts Scale Kvl

-

7736

Power Scale Kp

-

7737

Energy Scale Ke

-

 


Product overview
  • Webserver
  • Automatically Control
    • Heaters
    • Coolers
    • Humidity
    • Lighting
  • Power over Etherneti
  • Universal Input
  • Contact Output
  • New Linear Output
  • New Solid State Relay Output
  • New Autotune PIDi Control
  • AJAXi technology
  • Modbusi TCP/IP
  • Graph Plotting
  • Datalogging